Lesson 0009 · ~12 min

Training vs inference

Core idea: Training changes weights; inference uses fixed weights.

What to remember

Why it matters

This distinction explains why the model is not normally learning permanently during a conversation.

Mental model

Training: predict → compare to actual next token → update weights. Inference: predict → choose token → continue.

Checkpoint

  1. How does the model know the “correct” next token during training?
  2. What changes during training?
  3. What stays fixed during inference?